package com.erp.itm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.erp.itm.dao.ProjectFileDao;
import com.erp.itm.domain.ProjectFileDO;
import com.erp.itm.service.ProjectFileService;



@Service
public class ProjectFileServiceImpl implements ProjectFileService {
	@Autowired
	private ProjectFileDao projectFileDao;
	
	@Override
	public ProjectFileDO get(Long id){
		return projectFileDao.get(id);
	}
	
	@Override
	public List<ProjectFileDO> list(Map<String, Object> map){
		return projectFileDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return projectFileDao.count(map);
	}
	
	@Override
	public int save(ProjectFileDO projectFile){
		return projectFileDao.save(projectFile);
	}
	
	@Override
	public int update(ProjectFileDO projectFile){
		return projectFileDao.update(projectFile);
	}
	
	@Override
	public int remove(Long id){
		return projectFileDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return projectFileDao.batchRemove(ids);
	}
	
}
